﻿
using Main.Service;
using Microsoft.AspNetCore.Mvc;

namespace Main.api.Controllers
{
    /// <summary>
    /// 父级控制器
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class BaseController : Controller
    {
        /// <summary>
        /// 需求也许
        /// </summary>
        protected BaseService _Service;
        /// <summary>
        /// 配置文件
        /// </summary>
        protected IConfiguration _Config;
        private BaseService baseServer;

     



        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="baseServer"></param>
        /// <param name="config"></param>
        public BaseController(BaseService baseServer, IConfiguration config)
        {
            _Service = baseServer;
            _Config = config;
        }
    }
}
